<?php
	require('funkcije.php');
	require('validacija.php'); 
?>
<form id="edit_form" name="edit_form" action="?con=<?php echo $_GET['con']; ?>&cat=<?php echo $_REQUEST['cat']; ?>&item=<?php echo $_REQUEST['item']; ?>" method="post" enctype="multipart/form-data">
<div class="editor">
	<div class="menu_left">
		<?php require('menu.php'); ?>
	</div>
	<div class="editor_form">
		<?php 
		if($_REQUEST['item'] > 0)
		{ require('editor.php'); }
		else
		{ require('list.php'); }
		?>
	</div>
</div>
</form>